Type alias: CreateTRPCProxyClient<TRouter>
CreateTRPCProxyClient: <
TRouter
>inferRouterProxyClient
<TRouter
> extends infer $ProcedureRecord ?UntypedClientProperties
& keyof$ProcedureRecord
extendsnever
?inferRouterProxyClient
<TRouter
> :IntersectionError
<UntypedClientProperties
& keyof$ProcedureRecord
> :never
Creates a proxy client and shows type errors if you have query names that collide with built-in properties
Type parameters
Parameter |
---|
TRouter extends AnyRouter |
Source
packages/client/src/createTRPCClientProxy.ts:98
Generated using TypeDoc and typedoc-plugin-markdown